﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iNet.Media.Video
{
	class Mp4VideoDecodeTaskFactory : IsoBaseVideoDecodeTaskFactory
	{
		#region 建構子
		public Mp4VideoDecodeTaskFactory()
			: base("MPEG-4 Video Decode Task Factory", ContainerFormats.Mpeg4, new uint[]{
				0x6d703432u,	// mp42
				0x69736f6du,	// isom
				//0x46414345u,	// FACE
				//0x4d534e56u,	// MSNV
			})
		{ }
		#endregion
		#region CreateDecodeTask
		public override MediaDecodeTask CreateDecodeTask(MediaStorage source)
		{
			return new Mp4VideoDecodeTask(source);
		}
		#endregion
	}
}
